import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

const router = new VueRouter({
  // mode: "hash",
  routes: [
    {
      path: '/',
      redirect: '/index'
    },
    {
      path: "/index",
      name: "/index",
      component: () => import("@/components/index.vue"),
      meta: {
        title: '汉丰街道智慧监管系统'
      },
      children: [
        // {
        //   path: "/home",
        //   name: "home",
        //   component: () => import("/@/views/home/index.vue"),
        // },
      ],
    },
    // ...
  ],
});

export default router;
